package com.biz.primus.ms.promotion.service.promotion;

import com.biz.primus.base.vo.PageVo;
import com.biz.primus.common.vo.SpringPageVO;
import com.biz.primus.model.promotion.vo.CutPriceSalePromotionVo;

/**
 * 降价拍后台管理Service
 *
 * @author david-liu
 */
public interface CutPriceSalePromotionManagementService {

    /**
     * 更新降价拍
     *
     * @param vo 降价拍Vo
     * @return Boolean
     */
    Boolean updateCutPriceSalePromotion(CutPriceSalePromotionVo vo);

    /**
     * 获取降价拍促销
     *
     * @param pageVo 分页Vo
     * @return 分页对象
     */
    SpringPageVO<CutPriceSalePromotionVo> getCutPriceSalePromotions(PageVo pageVo);

    /**
     * 获取降价拍促销
     *
     * @param promotionId 促销ID
     * @return 降价拍促销Vo
     */
    CutPriceSalePromotionVo getCutPriceSalePromotion(Long promotionId);

    /**
     * 切换折扣促销状态
     *
     * @param promotionId 促销ID
     * @return Boolean
     */
    Boolean toggleCutPriceSalePromotionStatus(Long promotionId);


}
